home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Language/OS - Multiplatform Resource Library
/
LANGUAGE OS.iso
/
cpp_libs
/
awe2-0_1.lha
/
awe2-0.1
/
Src
/
RCS
/
ThreadException.cc,v
< prev
next >
Wrap
Text File
|
1988-10-12
|
1KB
|
70 lines
head 1.1;
access ;
symbols ;
locks grunwald:1.1; strict;
comment @@;
1.1
date 88.10.12.10.50.57; author grunwald; state Exp;
branches ;
next ;
desc
@@
1.1
log
@Initial revision
@
text
@#ifndef ThreadException_h
#define ThreadException_h
class ExceptionClass {
public:
ThreadException();
virtual void handleException();
};
inline ThreadException::ThreadException()
{
}
class ReserveByException;
class ExceptionBlockOn : public ExceptionClass {
ReserveByException *reserveToBlockOn;
public:
ExceptionBlockOn( ReserveByException *);
virtual void handleException();
};
inline
ExceptionBlockOn::ExceptionBlockOn( ReserveByException *r )
{
reserveToBlockOn = r;
}
class Thread;
class ExceptionTerminate : public ExceptionClass {
Thread *threadToTerminate;
public:
ExceptionTerminate( Thread * );
virtual void handleException();
};
inline
ExceptionTerminate::ExceptionTerminate( Thread *t )
{
threadToTerminate = t;
}
#endif /* ThreadException_h */
@